package com.itljm.cxrMarket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 反馈信息表
 * @TableName feedback_info
 */
@TableName(value ="feedback_info")
@Data
public class FeedbackInfo implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Long userId;
    private Integer feedbackType;// 反馈类型
    private String feedbackContent; // 反馈内容
    private String contactInfo;// 联系方式
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;
    private Integer status;// 状态：待处理、处理中、已解决

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}